cmake_minimum_required(VERSION 3.0)
project(opencv_example)

add_executable(example2_1 example2_1.cpp)
target_include_directories(example2_1 PRIVATE /usr/local/include/opencv4)
target_link_libraries(example2_1 PRIVATE opencv_highgui opencv_core opencv_imgproc opencv_imgcodecs)


add_executable(example2_2 example2_2.cpp)
target_include_directories(example2_2 PRIVATE /usr/local/include/opencv4)
target_link_libraries(example2_2 PRIVATE opencv_highgui opencv_core opencv_imgproc opencv_imgcodecs)

add_executable(example2_3 example2_3.cpp)
target_include_directories(example2_3 PRIVATE /usr/local/include/opencv4)
target_link_libraries(example2_3 PRIVATE opencv_highgui opencv_core opencv_imgproc opencv_videoio)

add_executable(example2_4 example2_4.cpp)
target_include_directories(example2_4 PRIVATE /usr/local/include/opencv4)
target_link_libraries(example2_4 PRIVATE opencv_highgui opencv_core opencv_imgproc opencv_videoio)

